package com.shardingdemo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shardingdemo.model.User;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author chen_lei
 * @date 2020/7/21 21:27
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    int updateBatch(List<User> list);

    int batchInsert(@Param("list") List<User> list);
}